import request from '../util/request.js'
const baseUrl = "store/product/category/"

export function getTopList(data) {
	return request.get(baseUrl + "top/list", data, {
		noAuth: true
	})
}


export function getStoreCategorySearchList(data) {
	return request.get(baseUrl + "search/list", data, {
		noAuth: true
	})
}


export function getChildList(data) {
	return request.get(baseUrl + "child/list", data, {
		noAuth: false,
		noVerify: true
	})
}

export function getChildListON(data) {
	return request.get(baseUrl + "child/list/on", data, {
		noAuth: true
	})
}


export function getSubChildList(data) {
	return request.get(baseUrl + "sub/list", data, {
		noAuth: false
	})
}
